package com.lam.schedule.common.scheduler.model;

import java.util.ArrayList;
import java.util.List;

public class TargetClass {
	
	private String className;
	private List<String> methods;
	
	public TargetClass() {}
	
	public TargetClass(String className) {
		super();
		this.className = className;
	}
	
	public void addMethod(String method) {
		if(methods == null) {
			methods = new ArrayList<>();
		}
		methods.add(method);
	}
	
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public List<String> getMethods() {
		return methods;
	}
	public void setMethods(List<String> methods) {
		this.methods = methods;
	}

}
